
convert.bitpix.anlz(bitpix)
convert.datatype.anlz(datatype.code)
convert.orient.anlz(orientation)
switch
statements are used to map a numeric code to the
appropriate string.convert.datatype
, convert.bitpix
,
convert.intent
, convert.form
,
convert.units
, convert.slice
## 4 = SIGNED_SHORT
convert.datatype.anlz(4)
## 16 = FLOAT
convert.datatype.anlz(16)
## 2 = "saggital unflipped"
convert.orient.anlz(2)
## 4 = "coronal flipped"
convert.orient.anlz(4)
Run the code above in your browser using DataLab